require File.dirname(__FILE__)+'/../lib/elements/Sales/element_OrgSearch.rb'
require File.dirname(__FILE__)+'/../lib/reporting.rb'
require File.dirname(__FILE__)+'/../lib/std_lib.rb'
require 'watir'
require 'watir/testcase'

CRM_STD_LIB.judgement_crmqa

=begin
class TeamOrgSearch < Watir::TestCase
    def test_setup
    CRM_STD_LIB::judement_crmqa
    #$ie = Watir::IE.attach(:title,/ActiveCRM/)
    filename  = File.basename(__FILE__).gsub(/\.rb/, "")
    @@for="karen test"
    @@search_in="Org Name"

    begin
      $log=Reporting.new(File.dirname(__FILE__)+'/../doc/report/'"",filename)
    rescue
      puts $!
      puts $@
      $log.close unless $log.nil?
    end
  end
=end